<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .wrap{
            display: flex;
        }
        label {
            display:block;
            width: 100px;
            height: 100px;
            position: relative;
        }
        img{
            width: 100px;
            height: 100px;
        }
        input{
            display: none;
        }
        .choice{
            width: 100px;
            height: 100px;
            position: absolute;
            top:0px;
            left: 0px;
            background:url(./images/success.png) no-repeat;
            background-size: 80%;
            background-position: 15px 15px;
            display: none;
            background-color: rgba(23,40,23,0.5);
        }
        input:checked + div{
            display: block;
        }
    </style>
</head>

<body>
    <div class="wrap">
        <label>
            <input type="radio" name="header" value="user1.gif">
            <div class="choice"></div>
            <img src="images/user/user1.gif" alt="">
        </label>
        <label>
            <input type="radio" name="header" value="user2.jpg">
            <div class="choice"></div>
            <img src="images/user/user2.jpg" alt="">
        </label>
    </div>
</body>

</html>